package model;

import java.io.Serializable;

public class User implements Serializable {
    private String username;
    private String petName;
    private String host;
    private int port;
    private String historicRecord;
    private boolean isOnline;

    public User(String username, String petName, String host, int port, String historicRecord, boolean isOnline) {
        this.username = username;
        this.petName = petName;
        this.host = host;
        this.port = port;
        this.historicRecord = historicRecord;
        this.isOnline = isOnline;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPetName() {
        return petName;
    }

    public void setPetName(String petName) {
        this.petName = petName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getHistoricRecord() {
        return historicRecord;
    }

    public void setHistoricRecord(String historicRecord) {
        this.historicRecord = historicRecord;
    }

    public boolean isOnline() {
        return isOnline;
    }

    public void setOnline(boolean online) {
        isOnline = online;
    }



}
